/* Login Page Styles */
.login {
    background-color: #EDEDED;
    margin-top: 8%;
    display: flex;
    justify-content: center; /* Center the login form horizontally */
    align-items: center; /* Center the login form vertically */
    width: 100%;
}
  
.login-container {
    width: 100%;
    max-width: 400px; /* Maximum width for the login container */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 50px;
}
  
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
.login-form-container {
    width: 70%;
    padding: 20px;
    display: flex; /* 设置为 flex 布局 */
    flex-direction: row; /* 水平排列子元素 */
    justify-content: flex-end; /* 子元素靠右对齐 */
}


.login-form h2 {
    margin-bottom: 20px;
    font-size: 30px;
    color: #ABC6D4;
}
  
.form-group {
    margin-bottom: 20px;
    width: 100%;
    display: flex;             /* 启用 Flexbox 布局 */
    align-items: center;      /* 竖直居中对齐 */
}
  
.form-label {
    width: 80px;
    color: #677C8A;
    text-align: justify;
    white-space: nowrap; /* 确保文本不换行 */
    font-weight: bold;
    margin:0 10px 8px 0;
    display: block;
    font-size: 14px;
}
  
.form-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    outline: none;  /* 去除默认边框 */
  }

.form-input:focus {
    border-color: #ABC6D4; /* 边框颜色 */
}
  
.form-submit-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: rgba(171, 198, 212, 1);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /* margin: 0 70px 0 15px; */
    transition: background-color 0.3s;
    width: 100%; /* Make the button span full width */
}
  
.form-submit-btn:hover {
    background-color: rgba(171, 198, 212, 0.9); /* Slightly darker on hover */
}
  
.register-btn {
    height: 40px;        /* Set button height */
    padding: 0 20px;   /* Set padding for the button (top-bottom 0px, left-right 20px) */
    color: #ABC6D4;      /* Button text color */
    border: none;        /* Remove border */
    background: none;    /* Remove background */
    border-radius: 5px;  /* Rounded corners for the button */
    cursor: pointer;     /* Show pointer cursor on hover */
    font-size: 16px;      /* Set font size */
    position: absolute;   /* Absolute positioning */
    bottom: 15px;         /* 10px from the bottom of the container */
    right: 15px;          /* 10px from the right of the container */
    width: auto;          /* Ensure the button width adjusts based on text */
}

.register-btn:hover {
    color: #a0bbc8;
}

.error-message {
    font-size: 14px;
    color: #677C8A;
    line-height: 1;
    margin-bottom: 0;  /* 减少段后距 */
}